package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author min
 * @since 2023-01-04
 */
@TableName("student_face_data")
@Data
public class StudentFaceData implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long schoolId;

    private Long studentId;

    private Long entityId;

    private String faceId;

    private Long tagId;

    private String ossImage;

    private String image;

    private Integer faceType;

    @TableField(exist = false)
    private String classTypeName;

    private Float qualitieScore;

    private Integer updateLevel;

    @TableLogic
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
